* {
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
}
body {
  font-size: 12px;
}

.wrap {
  width: 1200px;
  margin: 0 auto;
}
.wrap:after {
  content: "";
  display: block;
  clear: both;
}

/* 顶部导航 */
.header {
  height: 30px;
  line-height: 30px;
  border-bottom: 1px solid #f9f9f9;
  margin-bottom: 30px;
}
.login {
  float: left;
}
.nav {
  float: right;
}
.nav > li {
  float: left;
  padding: 0 5px;
}
.nav li.service {
  position: relative;
  border: 1px solid #fff;
}
.nav li.service:hover {
  border: 1px solid #ddd;
  border-bottom: none;
}
.nav li.service:hover .menu {
  display: block;
}
.nav li.service > .menu {
  border: 1px solid #ddd;
  border-top: none;
  padding: 0 5px;
  width: 68px;
  position: absolute;
  left: -1px;
  display: none;
}

.nav li.sep {
  color: #ddd;
}
.nav li > a {
  color: #666;
}
.nav li > a > i {
  display: block;
  float: right;
  width: 20px;
  height: 20px;
  background: url(../images/indexhead_sprite.png) no-repeat -280px -251px;
}
.nav li.phone {
  padding-left: 20px;
  background: url(../images/indexhead_sprite.png) no-repeat -284px -223px;
}

/* LOgo及搜索部分 */
.search {
  margin-bottom: 30px;
}
.search > img {
  float: left;
  margin-right: 120px;
}
.search > div.form {
  float: left;
  margin-top: 12px;
}
.search > div.form form {
  overflow: hidden;
  border: 2px solid #fe3c3d;
}
.search > div.form form > * {
  float: left;
  height: 30px;
  font-size: 14px;
}
.search > div.form form > label {
  line-height: 30px;
  padding: 0 30px;
  background-color: #f8f8f8;
  border-right: 1px solid #ddd;
}
.search > div.form form > input {
  padding: 0 10px;
  border: none;
  outline: none;
  width: 300px;
}
.search > div.form form > button {
  padding: 0 10px;
  border: none;
  outline: none;
  width: 100px;
  color: #fff;
  background-color: #fe3c3d;
}
.search > div.form p {
  margin-top: 6px;
}

.search > div.form p > a {
  color: #666;
  margin-top: 10px;
}

/* 主导航部分 */
.main-nav {
  line-height: 35px;
}

.main-nav > div {
  background-color: #ff3b3c;
  color: #fff;
  width: 210px;
  float: left;
  text-align: center;
  font-size: 14px;
  margin-right: 15px;
}
.main-nav > ul {
  float: left;
  overflow: hidden;
  font-size: 14px;
  font-weight: bold;
}
.main-nav > ul > li {
  float: left;
  margin: 0 12px;
}
.main-nav > ul > li > a {
  color: #000;
}
.main-nav > ul > li.active a {
  color: #ff3b3c;
}
/* 分类导航及轮播部分 */
.banner {
  background-color: #e82a1e;
  border-top: 2px solid #ff3d3c;
  margin-bottom: 30px;
}
.cate-nav {
  float: left;
  width: 210px;
}
.cate-nav > li {
  line-height: 34px;
  padding-left: 40px;
  background: #c23031 url(../images/nav.png) no-repeat 10px 5px;
}
.cate-nav > li:nth-child(2) {
  background-position-y: -40px;
}
.cate-nav > li:nth-child(3) {
  background-position-y: -83px;
}
.cate-nav > li:nth-child(4) {
  background-position-y: -125px;
}
.cate-nav > li:nth-child(5) {
  background-position-y: -163px;
}
.cate-nav > li:nth-child(6) {
  background-position-y: -203px;
}
.cate-nav > li:nth-child(7) {
  background-position-y: -243px;
}
.cate-nav > li:nth-child(8) {
  background-position-y: -284px;
}
.cate-nav > li:nth-child(9) {
  background-position-y: -323px;
}
.cate-nav > li:nth-child(10) {
  background-position-y: -363px;
}
.cate-nav > li:nth-child(11) {
  background-position-y: -400px;
}
.cate-nav > li:nth-child(12) {
  background-position-y: -439px;
}
.cate-nav > li > i {
  display: block;
  width: 20px;
  height: 20px;
  float: right;
  background: url(../images/indexhead_sprite.png) no-repeat 0 -1160px;
  margin-top: 12px;

  /* background-color: #fff; */
}
.cate-nav a {
  color: #fff;
}
/* 轮播 */

.carousel {
  float: left;
  width: 750px;
  position: relative;
}
.carousel > ul {
  position: absolute;
  bottom: 15px;
  left: 50%;
  margin-left: -75px;
}
.carousel > ul > li {
  float: left;
  width: 15px;
  height: 15px;
  background-color: #cbcad9;
  margin: 0 5px;
}
.carousel > ul > li.active {
  background-color: yellow;
}
/* 社区 */
.shequ {
  float: left;
  width: 240px;
  background-color: #fff;
  height: 401px;
}
.shequ > ul.top {
  overflow: hidden;
  padding: 0 10px;
}
.shequ > ul.top > li {
  float: left;
  margin: 10px;
  text-align: center;
}
.shequ > ul.top > li > a {
  color: #666;
}
.shequ > ul.news {
  padding: 10px 15px;
  line-height: 22px;
  color: #666;
}
.shequ > ul.tab {
  overflow: hidden;
  margin-bottom: 10px;
}
.shequ > ul.tab > li {
  width: 80px;
  float: left;
  box-sizing: border-box;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  height: 30px;
  line-height: 30px;
  background-color: #f0f0f0;
}

.shequ > ul.tab > li.active {
  color: #c23031;
  background-color: #fff;
}
.shequ > form {
  padding: 20px;
  line-height: 30px;
}
.shequ > form label {
  display: inline-block;
  width: 60px;
  text-align: right;
}
.shequ > form input {
  width: 118px;
  border: 1px solid #ccc;
  outline: none;
  padding: 2px 10px;
}
.shequ > form select {
  width: 136px;
  border: 1px solid #ccc;
  outline: none;
}
.shequ > form button {
  color: #fff;
  background-color: #ff5056;
  border: none;
  outline: none;
  padding: 5px 10px;
  margin-top: 15px;
}

/* 商品列表-食品饮料 */
.title {
  height: 30px;
  line-height: 30px;
  border-bottom: 2px solid #df3600;
}
.title > h3 {
  color: #df3600;
  float: left;
}
.title > div {
  float: right;
}
.products > div {
  float: left;
}
.title > div > a {
  color: #888;
}

.products > div.c1 {
  width: 210px;
  text-align: center;
  padding-top: 20px;
}
.products > div.c1 > ul {
  overflow: hidden;
}
.products > div.c1 > ul > li {
  float: left;
  width: 100px;
  padding: 10px 0;
  color: #666;
}

.products > div.c1 > .ban {
  margin: 15px 0;
}
.products > div.c1 > .ban > h4 {
  color: #c12e10;
}
.products > div.c1 > .ban > p {
  color: #999;
}

.products > div.c2 {
  width: 330px;
  position: relative;
}
.products > div.c2 > ul {
  position: absolute;
  bottom: 10px;
  overflow: hidden;
  left: 115px;
}
.products > div.c2 > ul > li {
  float: left;
  width: 30px;
  height: 5px;
  background-color: #eee;
  margin-right: 5px;
}
.products > div.c2 > ul > li.active {
  background-color: #d00;
}
.products > div.c3 {
  width: 220px;
}
.h180 {
  height: 180px;
}
.h360 {
  height: 360px;
}
.products .product {
  padding-top: 20px;
  text-align: center;
  line-height: 20px;
  box-sizing: border-box;
}
.products .product > p {
  color: #888;
}
.products > div.c4 {
  width: 220px;
}
.products > div.c5 {
  width: 220px;
}
